package com.zhang.service.impl;

import com.zhang.dao.PlayInfoDao;
import com.zhang.dao.impl.PlayInfoDaoImpl;
import com.zhang.domain.PlayInfo;
import com.zhang.service.PlayInfoService;

public class PlayInfoServiceImpl implements PlayInfoService {
    private PlayInfoDao playInfoDao = new PlayInfoDaoImpl();
    @Override
    public int enterPlayInfo(PlayInfo playInfo) {
        return playInfoDao.enterPlayInfo(playInfo);
    }

    @Override
    public int updatePlayInfo(PlayInfo playInfo) {
        return playInfoDao.updatePlayInfo(playInfo);
    }

    @Override
    public PlayInfo getPlayInfoByUid(int uid) {
        return playInfoDao.getPlayInfoByUid(uid);
    }
}
